/*
 * Copyright 2016-2018 TVI Go Easy.
 * Created on 2018/1/23 16:57
 */
package com.tvi.cloud.license.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 许可实体
 *
 * @author mechanic
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "license")
public class License implements Serializable {
    private static final long serialVersionUID = 4395259552725963670L;
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "organization_id")
    private String organizationId;
    @Column(name = "product_name")
    private String productName;
    @Column(name = "license_type")
    private String licenseType;
}
